local que_meifu = fk.CreateSkill {
    name = "que_meifu",
    tags = { Skill.Compulsory }
}

Fk:loadTranslationTable {
    ["que_meifu"] = "魅俘",
    [":que_meifu"] = "锁定技，每轮结束时，若X为3，你死亡，否则你摸X张牌(X为你的技能数)。",

}

que_meifu:addEffect(fk.RoundEnd, {
    anim_type = "drawcard",
    can_trigger = function(self, event, target, player, data)
        return player:hasSkill(que_meifu.name) and #player:getSkillNameList() > 0
    end,
    on_use = function(self, event, target, player, data)
        local room = player.room
        if #player:getSkillNameList() == 3 then
            room:killPlayer({ who = player })
        else
            player:drawCards(#player:getSkillNameList(), que_meifu.name)
        end
    end,
})
return que_meifu